money=10000
for i in range(1,21):
    import random
    num = random.randint(a=1,b=10)
    if num < 5:
     print(f"员工{i}，效绩分{num}，低于5，不发工资，下一个")
     continue
    else:
     money -=  1000
     print(f"向员工{i}发放工资1000元，余额还有{money}")
     if money == 0:
      print("工资发完了，下个月领吧")
      break
